import request from '../utils/request';

export const processshow = query => {
    return request({
        url: 'GetProcessShow',
        method: 'get',
        params: query
    });
};

export const processAdd = data => {
    return request({
        url: 'AddProcess',
        method: 'post',
        data: data
    });
};

export const show = query => {
    return request({
        url: 'api/services/app/Process/GetShow',
        method: 'get',
        params: query
    });
};